package com.demo.dao;

import com.demo.entity.Info;
import com.demo.vo.InfoVo;

import java.util.List;

public interface IInfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Info record);

    int insertSelective(Info record);

    Info selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Info record);

    int updateByPrimaryKeyWithBLOBs(Info record);

    int updateByPrimaryKey(Info record);
    List<Info> queryByPage(InfoVo user);

    /**
     * 符合统计条件的总数统计
     * @param user
     * @return
     */
    int queryCount(InfoVo user);
}